package com.wnd.dell.myapplication;

import java.util.List;

/**
 * Created by Dell on 2017/7/6.
 */

public class TrainDate {


    /**
     * resultcode : 200
     * reason : 查询成功!
     * result : {"train_info":{"name":"G5","start":"北京南","end":"上海虹桥","starttime":"07:00","endtime":"11:55","mileage":""},"station_list":[{"train_id":"1","station_name":"北京南","arrived_time":"-","leave_time":"07:00","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"-"},{"train_id":"2","station_name":"济南西","arrived_time":"08:32","leave_time":"08:34","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"2"},{"train_id":"3","station_name":"南京南","arrived_time":"10:46","leave_time":"10:48","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"2"},{"train_id":"4","station_name":"上海虹桥","arrived_time":"11:55","leave_time":"11:55","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"-"}]}
     * error_code : 0
     */

    private String resultcode;
    private String reason;
    private ResultBean result;
    private int error_code;

    public String getResultcode() {
        return resultcode;
    }

    public void setResultcode(String resultcode) {
        this.resultcode = resultcode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public static class ResultBean {
        /**
         * train_info : {"name":"G5","start":"北京南","end":"上海虹桥","starttime":"07:00","endtime":"11:55","mileage":""}
         * station_list : [{"train_id":"1","station_name":"北京南","arrived_time":"-","leave_time":"07:00","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"-"},{"train_id":"2","station_name":"济南西","arrived_time":"08:32","leave_time":"08:34","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"2"},{"train_id":"3","station_name":"南京南","arrived_time":"10:46","leave_time":"10:48","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"2"},{"train_id":"4","station_name":"上海虹桥","arrived_time":"11:55","leave_time":"11:55","mileage":"","fsoftSeat":"-","ssoftSeat":"-","hardSead":"-","softSeat":"-","hardSleep":"-","softSleep":"-","wuzuo":"-","swz":"-","tdz":"-","gjrw":"-","stay":"-"}]
         */

        private TrainInfoBean train_info;
        private List<StationListBean> station_list;

        public TrainInfoBean getTrain_info() {
            return train_info;
        }

        public void setTrain_info(TrainInfoBean train_info) {
            this.train_info = train_info;
        }

        public List<StationListBean> getStation_list() {
            return station_list;
        }

        public void setStation_list(List<StationListBean> station_list) {
            this.station_list = station_list;
        }

        public static class TrainInfoBean {
            /**
             * name : G5
             * start : 北京南
             * end : 上海虹桥
             * starttime : 07:00
             * endtime : 11:55
             * mileage :
             */

            private String name;
            private String start;
            private String end;
            private String starttime;
            private String endtime;
            private String mileage;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getStart() {
                return start;
            }

            public void setStart(String start) {
                this.start = start;
            }

            public String getEnd() {
                return end;
            }

            public void setEnd(String end) {
                this.end = end;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public String getMileage() {
                return mileage;
            }

            public void setMileage(String mileage) {
                this.mileage = mileage;
            }
        }

        public static class StationListBean {
            /**
             * train_id : 1
             * station_name : 北京南
             * arrived_time : -
             * leave_time : 07:00
             * mileage :
             * fsoftSeat : -
             * ssoftSeat : -
             * hardSead : -
             * softSeat : -
             * hardSleep : -
             * softSleep : -
             * wuzuo : -
             * swz : -
             * tdz : -
             * gjrw : -
             * stay : -
             */

            private String train_id;
            private String station_name;
            private String arrived_time;
            private String leave_time;
            private String mileage;
            private String fsoftSeat;
            private String ssoftSeat;
            private String hardSead;
            private String softSeat;
            private String hardSleep;
            private String softSleep;
            private String wuzuo;
            private String swz;
            private String tdz;
            private String gjrw;
            private String stay;

            public String getTrain_id() {
                return train_id;
            }

            public void setTrain_id(String train_id) {
                this.train_id = train_id;
            }

            public String getStation_name() {
                return station_name;
            }

            public void setStation_name(String station_name) {
                this.station_name = station_name;
            }

            public String getArrived_time() {
                return arrived_time;
            }

            public void setArrived_time(String arrived_time) {
                this.arrived_time = arrived_time;
            }

            public String getLeave_time() {
                return leave_time;
            }

            public void setLeave_time(String leave_time) {
                this.leave_time = leave_time;
            }

            public String getMileage() {
                return mileage;
            }

            public void setMileage(String mileage) {
                this.mileage = mileage;
            }

            public String getFsoftSeat() {
                return fsoftSeat;
            }

            public void setFsoftSeat(String fsoftSeat) {
                this.fsoftSeat = fsoftSeat;
            }

            public String getSsoftSeat() {
                return ssoftSeat;
            }

            public void setSsoftSeat(String ssoftSeat) {
                this.ssoftSeat = ssoftSeat;
            }

            public String getHardSead() {
                return hardSead;
            }

            public void setHardSead(String hardSead) {
                this.hardSead = hardSead;
            }

            public String getSoftSeat() {
                return softSeat;
            }

            public void setSoftSeat(String softSeat) {
                this.softSeat = softSeat;
            }

            public String getHardSleep() {
                return hardSleep;
            }

            public void setHardSleep(String hardSleep) {
                this.hardSleep = hardSleep;
            }

            public String getSoftSleep() {
                return softSleep;
            }

            public void setSoftSleep(String softSleep) {
                this.softSleep = softSleep;
            }

            public String getWuzuo() {
                return wuzuo;
            }

            public void setWuzuo(String wuzuo) {
                this.wuzuo = wuzuo;
            }

            public String getSwz() {
                return swz;
            }

            public void setSwz(String swz) {
                this.swz = swz;
            }

            public String getTdz() {
                return tdz;
            }

            public void setTdz(String tdz) {
                this.tdz = tdz;
            }

            public String getGjrw() {
                return gjrw;
            }

            public void setGjrw(String gjrw) {
                this.gjrw = gjrw;
            }

            public String getStay() {
                return stay;
            }

            public void setStay(String stay) {
                this.stay = stay;
            }
        }
    }
}
